package ntd.util.modular.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import ntd.util.config.common.entity.BaseEntityMybatis;
import ntd.util.util.metadata.NtdField;



@TableName("common_storage")
@Data
public class Storage extends BaseEntityMybatis<Storage> {

    @Schema(description = "渠道商id")
    @NtdField(type = 6, oneModular = "function", twoModular = "channel-business")
    private String channelBusinessId;

    @Schema(description = "文件标识", title = "文件标识")
    private String fileKey;

    @Schema(description = "文件名称", title = "文件名称")
    private String name;

    @Schema(description = "文件类型", title = "文件类型")
    private String type;

    @Schema(description = "文件大小", title = "文件大小")
    private Integer size;

    @Schema(description = "文件访问链接", title = "文件访问链接")
    private String url;
}
